<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    var shengao=prompt("输入你的身高")*1
    var weigth=0
    weight=Number((shengao-108)*2)
    for(i=weight;i<weight+10;i++){
        console.log(i+"是标准体重")
    }
    for(j=weight;i>weight-10;i++){
        console.log(i+"是标准体重")
    }
</script>
</html>